Avoid vfork-related deadlock more cleanly.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2013 06:53:47 +0000 (23:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jul 2013 06:53:47 +0000 (23:53 -0700)
commit341989de076af0960e81d151a757f54df7e0dc4c
tree82f7c30a1e0459af9217ee06ceaade35bf494d1b
parenta8687cd03936db3fce59ac529d72b207c8424381
Avoid vfork-related deadlock more cleanly.

* callproc.c (child_setup): When the child's exec fails, output
the program name, as that's more useful.  Use O_NONBLOCK to avoid
deadlock.
* process.c (create_process_1): Remove; no longer needed.
(create_process): Remove timer hack; no longer needed, now that
the child avoids deadlock.
src/ChangeLog
src/callproc.c
src/process.c